﻿using SqlSugar;
namespace IMES.Entity
{
    /// <summary>
    /// 基础信息-公司
    ///</summary>
    [SugarTable("bs_company")]
    public class BsCompany : BaseEntity
    { 
        /// <summary>
        /// 公司代码 
        ///</summary>
         [SugarColumn(ColumnName="Code" ,IsPrimaryKey = true   )]
         public string? Code { get; set; }
        /// <summary>
        /// 名称 
        ///</summary>
         [SugarColumn(ColumnName="Name"    )]
         public string? Name { get; set; }
        /// <summary>
        /// 地址 
        ///</summary>
         [SugarColumn(ColumnName="Address"    )]
         public string? Address { get; set; }
        /// <summary>
        /// logo 
        ///</summary>
         [SugarColumn(ColumnName="Logo"    )]
         public byte[]? Logo { get; set; }
        /// <summary>
        /// 序号 
        ///</summary>
         [SugarColumn(ColumnName="SortID"    )]
         public int SortID { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="Remark"    )]
         public string? Remark { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="CreateTime"    )]
         public DateTime? CreateTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Creator"    )]
         public string? Creator { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="EditTime"    )]
         public DateTime? EditTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Editor"    )]
         public string? Editor { get; set; }
    }
}
